SET(CMAKE_SYSTEM_NAME Linux)

SET(CMAKE_C_COMPILER "arm-linux-gcc")
SET(CMAKE_CXX_COMPILER "arm-linux-g++")
SET(CMAKE_SYSTEM_PROCESSOR "arm")
 
SET(CMAKE_THREAD_LIBS_INIT "pthread")
set(CMAKE_HAVE_THREADS_LIBRARY 1)
set(CMAKE_USE_WIN32_THREADS_INIT 0)
set(CMAKE_USE_PTHREADS_INIT 1)
set(THREADS_PREFER_PTHREAD_FLAG ON)

SET(CMAKE_INCLUDE_PATH "${SYS_PATH}/openssl2/include")
SET(LibCrypto_ROOT_DIR "${SYS_PATH}/openssl2")
SET(LibCrypto_FOUND "${SYS_PATH}/openssl2")
SET(LibCrypto_INCLUDE_DIR "${SYS_PATH}/openssl2/include")
SET(LibCrypto_LIBRARY "${SYS_PATH}/openssl2/libcrypto.so")
SET(LibCrypto_SHARED_LIBRARY "${SYS_PATH}/openssl2/libcrypto.so")

SET(crypto_ROOT_DIR "${SYS_PATH}/openssl2")
SET(crypto_FOUND "${SYS_PATH}/openssl2")
SET(crypto_INCLUDE_DIR "${SYS_PATH}/openssl2/include")
SET(crypto_LIBRARY "${SYS_PATH}/openssl2/libcrypto.so")
SET(crypto_SHARED_LIBRARY "${SYS_PATH}/openssl2/libcrypto.so")

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
